package cn.common.tool;

import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;

import cn.common.dao.BaseDao;

public class seach extends BaseDao
{
	public ResultSet f(String sql) throws SQLException
	{
		
		Connection conn;
		ResultSet rs;
		Statement sta;
		
		conn = this.getConn();
		sta	 = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE ,ResultSet.CONCUR_UPDATABLE);
		rs	 = sta.executeQuery(sql);
		
		return rs;
	}

}
